package com.ruoyi.zhjd.collect.modules.piece.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.util.Date;

/**
 * 盘信息
 */
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ToString
@TableName("collect_piece")
public class CollectPieceEntity {

    @TableId(type = IdType.AUTO)
    private Long pkId;
    private Long parentPkId;
    private Integer id;
    private Integer product;// 派车信息ID
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date datTim;// 生产时刻
    private String blend;// 搅拌机
    private Integer serial;// 盘序号
    private String bldTim;// 搅拌时间
    private Double pieAmnt;// 盘方量
    private String lands;// 本盘坍落度
    private String flag;// 标识
    private String note;// 备注

}
